package com.xinyue.dao;

import java.util.ArrayList;

public interface userDao {
	//查询全部信息
			public ArrayList getList();
			
			//增
			public void add( int id,
					String pass,
					String name,
					String head,
					 String headborder,
					 String bornlocal,
					 String nowlocal,
					 String mysign,
					 String mystyle,
					 float level,
					 String sex,
					 int age,
					 String borntime,
					 String signtime,
					 String phone,
					 String email,
					 String vip,
					 String viptime,
					 String lastonline);
			//删
			public void delete(int id);//根据ID值封号处理
			//改
			public void updatePass(int id,String pass);
			//密码修改
			public void updateName(int id,String name);
			//昵称修改
			public void updateHead(int id,String head);
			//头像修改
			public void updateHeadborder(int id,String headborder);
			//头像框修改
			public void updatebornlocal(int id,String bornlocal);
			//出生地修改
			public void updatenowlocal(int id,String nowlocal);
			//现在地修改
			public void updatemysign(int id,String mysign);
			//个人签名修改
			public void updatesex(int id,String sex);
			//性别修改
			public void updateborntime(int id,String borntime);
			//出生日期修改
			public void updatevip(int id,String vip);
			//vip修改
			public void updateviptime(int id,String viptime);
			//vip到期时间修改
			public void updatelastonline(int id,String lastonline);
			//上次登录时间修改
			public int length();//获取数据库的长度
}
